<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加投诉页面</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
</head>
<body>
<h1>添加投诉页面</h1>
<div class="form-container">
    <form action="#" method="post">
        <label for="brand">投诉品牌:</label>
        <select id="brand" name="brand">
            <option value="">--请选择--</option>
            <option th:each="brand : ${brands}" th:value="${brand.brandName}"
                    th:text="${brand.brandName}"></option>
        </select>
        <label for="problem">投诉问题:</label>
        <input type="text" id="problem" name="problem">
        <label for="carType">投诉车系:</label>
        <input type="text" id="carType" name="carType">
        <label for="complaintsTime">投诉时间:</label>
        <input type="date" id="complaintsTime" name="complaintsTime">
        <label for="status">投诉状态:</label>
        <input type="radio" id="status1" name="status" value="0" checked> 信息审核
        <input type="radio" id="status2" name="status" value="1"> 厂家受理
        <br>
        <label for="operation">相关操作:</label>
        <button type="submit"><i class="fas fa-plus"></i>新增</button>
        <a href="@{/selectAllByName}"><i class="fas fa-arrow-left"></i>返回</a>
    </form>
</div>
</body>
</html>